using NodeCanvas.Framework;
using ParadoxNotion.Design;

namespace Yoozoo.Gameplay.Liberty.AI.Node
{
    [Category("Ggame/Liberty")]
    public class SetAnimatorInt : AIBaseNode
    {
        [RequiredField]
        public BBParameter<int> intName;
        public BBParameter<int> intValue;
        
        protected override void OnExecute()
        {
            _animator.SetInteger(intName.value,intValue.value);    
            EndAction(true);
        }
    }
}